﻿@model  EcBlog.Admin.Models.EditContentViewModel
@using EcBlog.Properties
@using Telerik.Web.Mvc.UI; 
@{
    ViewBag.Title = "Layout Edit";
    Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}

@section head
{
    @Html.Partial("_Head")
}

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    
        
    @(Html.Telerik().TabStrip()
       .Name("ContentEditor")
       .Items(tabstrip =>
       {  
           tabstrip.Add()
               .Text(ModelLocalization.LayoutEditor)
               .Content(@<text> @Html.TextAreaFor(m => (m.Content ?? string.Empty),60,150,null ) </text>);
       }).SelectedIndex(0) 
    )
     
        <p>
            @Html.AntiForgeryToken() 
            <input type="submit" value="@ModelLocalization.Save" />
        </p>
    
}

